package com.vote.services;

import com.vote.model.User;


public interface UserService {
    
    public User getUserById(int userId);
    
    public int insertUser(User user) throws Exception;
    
    public User login(User user);
	
	public boolean checkUserName(String userName);

	public boolean checkUserEmail(String userEmail);
    
    public boolean updatePassword(User user, String password);
    
    public boolean updateEmail(User user, String email);
}
